<?php
namespace Admin\Controller;
use Admin\Controller\ChearkLoginController;
use Think\Controller;
class BikeController extends ChearkLoginController {
    public function index(){
        $where['zhuangtai'] = "已付款";
        $where['ad'] = "未发货";
        $this->name = M('information')->join('purchase ON informatio_id=information.idi')->join('shop ON shopsid =shop.idit')->join('Address ON infors_id =information.idi')->where($where)->order('f_time desc')->select();
        $this->display();
    }
    public function klio(){
        $where['zhuangtai'] = "已付款";
        $where['ad'] = "已发货";
        $this->name = M('information')->join('purchase ON informatio_id=information.idi')->join('shop ON shopsid =shop.idit')->join('Address ON infors_id =information.idi')->where($where)->order('f_time desc')->select();
        $this->display("Bike:index");
    }
    public function wrf(){
        $where['zhuangtai'] = "已付款";
        $this->name = M('information')->join('purchase ON informatio_id=information.idi')->join('shop ON shopsid =shop.idit')->join('Address ON infors_id =information.idi')->where($where)->order('f_time desc')->select();
        $this->display("Bike:index");
    }
}